package com.mf.controller;

import com.mf.entity.Msg;
import com.mf.service.AdminService;

public class AdminController {
	AdminService adminService=new AdminService();
	
	public Msg adminLogin(String username,String password){
		if (adminService.adminLogin(username,password)) {
			return Msg.success();
		}else {
			return Msg.fail();
		}
	
	}
}
